package org.hefan.order.service;

import org.hefan.basic.service.IBaseService;
import org.hefan.basic.util.PageList;
import org.hefan.order.domain.AdoptOrder;
import org.hefan.order.query.AdoptOrderQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {

    /**
     * 创建支付订单
     * @param params
     * @param request
     * @return
     */
    String adoptOrderSubmit(Map<String, Object> params, HttpServletRequest request);

    PageList<AdoptOrder> queryAdminOrder(AdoptOrderQuery adoptOrderQuery, Long logininfoId);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery adoptOrderQuery, Long logininfoId);
}
